package com.bykj.property.model;

import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import java.sql.Timestamp;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
import com.bykj.property.model.RepairPerson;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
/**
* <p>
    * 小区信息表
    * </p>
*
* @author liangyiming
* @since 2019-06-20
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("pm_village")
    @ApiModel(value="PmVillage对象", description="小区信息表")
    public class PmVillage implements Serializable {


private static final long serialVersionUID = 1L;
            @TableId(value = "pm_village_id", type = IdType.AUTO)
    private Long pmVillageId;
            @ApiModelProperty(value = "小区编号")
    private String viNumber;
            @ApiModelProperty(value = "小区名称")
    private String viName;
            @ApiModelProperty(value = "小区地址")
    private String viAddress;
            @ApiModelProperty(value = "单元数量")
    private String unitCount;
            @ApiModelProperty(value = "维修负责人id（外键）")
    private Long repairPersonId;
        /**
        *维修负责人id（外键）关联属性
        */
        @TableField(exist = false)
        private RepairPerson repairPerson;
    private Timestamp createdTime;
    private Timestamp updateTime;

}
